Skip to content

London | 26-ITP-Jan | Oussama Mouggal | Sprint 1 | Coursework#948

Open
Oussama-Mouggal wants to merge 20 commits intoCodeYourFuture:mainfrom
Oussama-Mouggal:coursework/sprint1
Open

London | 26-ITP-Jan | Oussama Mouggal | Sprint 1 | Coursework#948
Oussama-Mouggal wants to merge 20 commits intoCodeYourFuture:mainfrom
Oussama-Mouggal:coursework/sprint1

Conversation

@Oussama-Mouggal
Copy link

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

I corrected the javascript errors and commited them separately.

@Oussama-Mouggal Oussama-Mouggal added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 10, 2026
@Oussama-Mouggal Oussama-Mouggal changed the title London | 26-ITP-Jan | Oussama Mouggal | Sprint 1| Coursework London | 26-ITP-Jan | Oussama Mouggal | Sprint 1 | Coursework Feb 10, 2026
@cjyuan cjyuan added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 17, 2026
@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Feb 17, 2026
@Oussama-Mouggal
Copy link
Author

Thank you @cjyuan for your valuable feedback. I corrected the mistakes and updated my code.

@Oussama-Mouggal Oussama-Mouggal added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 20, 2026
Copy link
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Well done.

Comment on lines +3 to +4
let age = 33;
let newAge = (age + 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are not going to reassign values to these variables, we can keep using const.

console.log(`The percentage change is ${percentageChange}`);

//a) There are 4 function calls in this file. They are on lines 1, 2, 4, and 5.
//b) The error is on line 5. The error is occurring because a comma is messing between the parameters.,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A more common term used to describe the value passed to the function is "argument".

The term "parameter" usually refers to a variable (in the function definition) that is used to receive the value passed into the function.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments